﻿using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;




namespace D.Traceability.Domain
{
    /// <summary>
    /// 屠宰信息表
    /// </summary>
    [Table("SU_SlaughterModel")]
    public class SU_SlaughterModel
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int SlaughterId { get; set; }

        /// <summary>
        /// 屠宰批次
        /// </summary>
        public string? SlaughterBatch { get; set; }
        /// <summary>
        /// 到厂均重（公斤）
        /// </summary>
        public decimal? Kg { get; set; }
        /// <summary>
        /// 到厂时间
        /// </summary>
        public DateTime? ArriveTime { get; set; }
        /// <summary>
        /// 屠宰时间
        /// </summary>
        public DateTime? SlaughterTime { get; set; }
        /// <summary>
        /// 溯源生产批次  
        /// </summary>
        public string? TraceaBatch { get; set; }
        /// <summary>
        /// 逻辑删除 false 未删除  true 删除
        /// </summary>
        public bool TraceaIsDelete { get; set; }



    }
}
